home *** CD-ROM | disk | FTP | other *** search
/ AOL File Library: 2,801 to 2,900 / aol-file-protocol-4400-2801-to-2900.zip / AOLDLs / C++ Files Library / Acere (Card Game) / AcereÄ.sit / Acereƒ / WellFreeCell.h < prev    next >
Text File  |  1994-08-24  |  992b  |  45 lines

  1. // ===========================================================================
  2. //    LPane.h                            ⌐1993 Metrowerks Inc. All rights reserved.
  3. // ===========================================================================
  4.  
  5. #pragma once
  6.  
  7. #include <LAttachable.h>
  8.  
  9. #ifndef __EVENTS__
  10. #include <Events.h>
  11. #endif
  12.  
  13. #include <CardWell.h>
  14.  
  15. #if defined(powerc) || defined(__powerc)
  16. #pragma options align=reset
  17. #endif
  18.  
  19.  
  20. class WellFreeCell : public CardWell
  21. {
  22.  
  23. public:
  24.     
  25.     static WellFreeCell*    CreateWellFreeCell(LStream *inStream);
  26.     
  27.                     WellFreeCell();
  28.                     WellFreeCell(const WellFreeCell &inOriginal);        
  29.                     WellFreeCell(const SPaneInfo &inPaneInfo);
  30.                     WellFreeCell(LStream *inStream);
  31.                     
  32.     virtual void    InitPane(const SPaneInfo    &inPaneInfo);
  33.     
  34.     virtual            ~WellFreeCell();
  35.  
  36.         // Ñ Drawing
  37.     
  38.     virtual void    Draw(RgnHandle inSuperDrawRgnH);
  39.     
  40.     
  41. //    virtual    Boolean    CanDropOnEmptySlot(CardStruct *draggedCard);
  42. //    virtual    Boolean    CanDropOnSlot(CardStruct *draggedCard, CardStruct *dropPileCard);
  43.     
  44. };
  45.